package com.shundr.auth.frame.db.model;

import java.io.Serializable;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "TruckInfo")
public class TruckInfo implements Serializable {

	/**
	 * serialVersionUID:TODO
	 * 
	 * @since 1.0.0
	 */

	private static final long serialVersionUID = 1L;
	/**
	 * 车辆编号，自增ID，主键
	 */
	@DatabaseField(generatedId = true)
	public Integer truckId;
	/**
	 * 车辆所属用户id
	 */
	@DatabaseField
	public Integer userId;
	/**
	 * 司机电话
	 */
	@DatabaseField
	public String truckerName;
	/**
	 * 司机电话
	 */
	@DatabaseField
	public String truckerPhone;
	/**
	 * 货车类型：平板车，低栏车，高栏车，半封闭车，厢式车，自卸车，冷藏车，其他
	 */
	@DatabaseField
	public String truckType;
	/**
* 
*/
	@DatabaseField
	public Integer truckTypeCode;
	/**
	 * 车辆长度，单位米
	 */
	@DatabaseField
	public Float truckLength;
	/**
	 * 车辆载重ton
	 */
	@DatabaseField
	public Float truckCapacity;
	/**
	 * 货车的车牌号,全局唯一
	 */
	@DatabaseField
	public String truckPlateNumber;
	/**
	 * 行驶证
	 */
	@DatabaseField
	public String truckLicense;
	/**
	 * 行驶证照片路径
	 */
	@DatabaseField
	public String truckLicensePic;

	/**
	 * 车辆照片路径
	 */
	@DatabaseField
	public String truckPic;
	/**
	 * 货车状态：0 待提交，1等待验证，2-验证失败，3-空闲中，4已接单
	 */
	@DatabaseField
	public Integer truckStatus;
	/**
* 
*/
	@DatabaseField
	public Integer truckOwnCityCode;
	/**
* 
*/
	@DatabaseField
	public Double truckLocationLng;
	/**
* 
*/
	@DatabaseField
	public Double truckLocationLat;
	/**
	 * 货车当前城市
	 */
	@DatabaseField
	public String truckCurrentCity;
	/**
	 * 货车当前城市代码
	 */
	@DatabaseField
	public Integer truckCurrentCityCode;
	/**
	 * 期望流向1
	 */
	@DatabaseField
	public String truckForwardCity1;
	/**
	 * 期望流向1代码
	 */
	@DatabaseField
	public Integer truckForwardCity1Code;
	/**
	 * 期望流向2
	 */
	@DatabaseField
	public String truckForwardCity2;
	/**
	 * 期望流向2代码
	 */
	@DatabaseField
	public Integer truckForwardCity2Code;
	/**
	 * 期望流向3
	 */
	@DatabaseField
	public String truckForwardCity3;
	/**
	 * 期望流向3代码
	 */
	@DatabaseField
	public Integer truckForwardCity3Code;
	/**
	 * 期望流向4
	 */
	@DatabaseField
	public String truckForwardCity4;
	/**
	 * 期望流向4代码
	 */
	@DatabaseField
	public Integer truckForwardCity4Code;
	/**
	 * 车辆来源，1 标示来自社会车辆（必须进行实名认证的）
	 */
	@DatabaseField
	public Integer truckSource;
	/**
	 * 车信息的更新时间
	 */
	@DatabaseField
	public String truckUpdateTime;
	/**
	 * 车位置的更新时间
	 */
	@DatabaseField
	public String truckLocUpdateTime;
	/**
	 * 上次推荐时间
	 */
	@DatabaseField
	public String lastRecommendTime;

	public TruckInfo() {
	}

	public TruckInfo(Integer truckId, Integer userId, String truckerName,
			String truckerPhone, String truckType, Integer truckTypeCode,
			Float truckLength, Float truckCapacity, String truckPlateNumber,
			String truckLicense, String truckLicensePic, String truckPic,
			Integer truckStatus, Integer truckOwnCityCode,
			Double truckLocationLng, Double truckLocationLat,
			String truckCurrentCity, Integer truckCurrentCityCode,
			String truckForwardCity1, Integer truckForwardCity1Code,
			String truckForwardCity2, Integer truckForwardCity2Code,
			String truckForwardCity3, Integer truckForwardCity3Code,
			String truckForwardCity4, Integer truckForwardCity4Code,
			Integer truckSource, String truckUpdateTime,
			String truckLocUpdateTime, String lastRecommendTime) {
		super();
		this.truckId = truckId;
		this.userId = userId;
		this.truckerName = truckerName;
		this.truckerPhone = truckerPhone;
		this.truckType = truckType;
		this.truckTypeCode = truckTypeCode;
		this.truckLength = truckLength;
		this.truckCapacity = truckCapacity;
		this.truckPlateNumber = truckPlateNumber;
		this.truckLicense = truckLicense;
		this.truckLicensePic = truckLicensePic;
		this.truckPic = truckPic;
		this.truckStatus = truckStatus;
		this.truckOwnCityCode = truckOwnCityCode;
		this.truckLocationLng = truckLocationLng;
		this.truckLocationLat = truckLocationLat;
		this.truckCurrentCity = truckCurrentCity;
		this.truckCurrentCityCode = truckCurrentCityCode;
		this.truckForwardCity1 = truckForwardCity1;
		this.truckForwardCity1Code = truckForwardCity1Code;
		this.truckForwardCity2 = truckForwardCity2;
		this.truckForwardCity2Code = truckForwardCity2Code;
		this.truckForwardCity3 = truckForwardCity3;
		this.truckForwardCity3Code = truckForwardCity3Code;
		this.truckForwardCity4 = truckForwardCity4;
		this.truckForwardCity4Code = truckForwardCity4Code;
		this.truckSource = truckSource;
		this.truckUpdateTime = truckUpdateTime;
		this.truckLocUpdateTime = truckLocUpdateTime;
		this.lastRecommendTime = lastRecommendTime;
	}

	public Integer getTruckId() {
		return truckId;
	}

	public void setTruckId(Integer truckId) {
		this.truckId = truckId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getTruckerName() {
		return truckerName;
	}

	public void setTruckerName(String truckerName) {
		this.truckerName = truckerName;
	}

	public String getTruckerPhone() {
		return truckerPhone;
	}

	public void setTruckerPhone(String truckerPhone) {
		this.truckerPhone = truckerPhone;
	}

	public String getTruckType() {
		return truckType;
	}

	public void setTruckType(String truckType) {
		this.truckType = truckType;
	}

	public Integer getTruckTypeCode() {
		return truckTypeCode;
	}

	public void setTruckTypeCode(Integer truckTypeCode) {
		this.truckTypeCode = truckTypeCode;
	}

	public Float getTruckLength() {
		return truckLength;
	}

	public void setTruckLength(Float truckLength) {
		this.truckLength = truckLength;
	}

	public Float getTruckCapacity() {
		return truckCapacity;
	}

	public void setTruckCapacity(Float truckCapacity) {
		this.truckCapacity = truckCapacity;
	}

	public String getTruckPlateNumber() {
		return truckPlateNumber;
	}

	public void setTruckPlateNumber(String truckPlateNumber) {
		this.truckPlateNumber = truckPlateNumber;
	}

	public String getTruckLicense() {
		return truckLicense;
	}

	public void setTruckLicense(String truckLicense) {
		this.truckLicense = truckLicense;
	}

	public String getTruckLicensePic() {
		return truckLicensePic;
	}

	public void setTruckLicensePic(String truckLicensePic) {
		this.truckLicensePic = truckLicensePic;
	}

	public void setTruckPic(String truckPic) {
		this.truckPic = truckPic;
	}

	public String getTruckPic() {
		return truckPic;
	}

	public Integer getTruckStatus() {
		return truckStatus;
	}

	public void setTruckStatus(Integer truckStatus) {
		this.truckStatus = truckStatus;
	}

	public Integer getTruckOwnCityCode() {
		return truckOwnCityCode;
	}

	public void setTruckOwnCityCode(Integer truckOwnCityCode) {
		this.truckOwnCityCode = truckOwnCityCode;
	}

	public Double getTruckLocationLng() {
		return truckLocationLng;
	}

	public void setTruckLocationLng(Double truckLocationLng) {
		this.truckLocationLng = truckLocationLng;
	}

	public Double getTruckLocationLat() {
		return truckLocationLat;
	}

	public void setTruckLocationLat(Double truckLocationLat) {
		this.truckLocationLat = truckLocationLat;
	}

	public String getTruckCurrentCity() {
		return truckCurrentCity;
	}

	public void setTruckCurrentCity(String truckCurrentCity) {
		this.truckCurrentCity = truckCurrentCity;
	}

	public Integer getTruckCurrentCityCode() {
		return truckCurrentCityCode;
	}

	public void setTruckCurrentCityCode(Integer truckCurrentCityCode) {
		this.truckCurrentCityCode = truckCurrentCityCode;
	}

	public String getTruckForwardCity1() {
		return truckForwardCity1;
	}

	public void setTruckForwardCity1(String truckForwardCity1) {
		this.truckForwardCity1 = truckForwardCity1;
	}

	public Integer getTruckForwardCity1Code() {
		return truckForwardCity1Code;
	}

	public void setTruckForwardCity1Code(Integer truckForwardCity1Code) {
		this.truckForwardCity1Code = truckForwardCity1Code;
	}

	public String getTruckForwardCity2() {
		return truckForwardCity2;
	}

	public void setTruckForwardCity2(String truckForwardCity2) {
		this.truckForwardCity2 = truckForwardCity2;
	}

	public Integer getTruckForwardCity2Code() {
		return truckForwardCity2Code;
	}

	public void setTruckForwardCity2Code(Integer truckForwardCity2Code) {
		this.truckForwardCity2Code = truckForwardCity2Code;
	}

	public String getTruckForwardCity3() {
		return truckForwardCity3;
	}

	public void setTruckForwardCity3(String truckForwardCity3) {
		this.truckForwardCity3 = truckForwardCity3;
	}

	public Integer getTruckForwardCity3Code() {
		return truckForwardCity3Code;
	}

	public void setTruckForwardCity3Code(Integer truckForwardCity3Code) {
		this.truckForwardCity3Code = truckForwardCity3Code;
	}

	public String getTruckForwardCity4() {
		return truckForwardCity4;
	}

	public void setTruckForwardCity4(String truckForwardCity4) {
		this.truckForwardCity4 = truckForwardCity4;
	}

	public Integer getTruckForwardCity4Code() {
		return truckForwardCity4Code;
	}

	public void setTruckForwardCity4Code(Integer truckForwardCity4Code) {
		this.truckForwardCity4Code = truckForwardCity4Code;
	}

	public Integer getTruckSource() {
		return truckSource;
	}

	public void setTruckSource(Integer truckSource) {
		this.truckSource = truckSource;
	}

	public String getTruckUpdateTime() {
		return truckUpdateTime;
	}

	public void setTruckUpdateTime(String truckUpdateTime) {
		this.truckUpdateTime = truckUpdateTime;
	}

	public String getTruckLocUpdateTime() {
		return truckLocUpdateTime;
	}

	public void setTruckLocUpdateTime(String truckLocUpdateTime) {
		this.truckLocUpdateTime = truckLocUpdateTime;
	}

	public String getLastRecommendTime() {
		return lastRecommendTime;
	}

	public void setLastRecommendTime(String lastRecommendTime) {
		this.lastRecommendTime = lastRecommendTime;
	}

}
